package com.yulinlin.admin.modules.sys.domain.enums;


import com.yulinlin.common.domain.enums.SuperEnum;

public class SysUserEnums {

    public enum sex implements SuperEnum<String> {
        man("男"),
        woman("女");
        private String label;

        sex(String label) {
            this.label = label;
        }

        @Override
        public String getValue() {
            return this.name();
        }

        @Override
        public String getLabel() {
            return label;
        }
    }

    public enum status implements SuperEnum<String> {
        normal("正常"),
        freeze("冻结");
        private String label;

        status(String label) {
            this.label = label;
        }

        @Override
        public String getValue() {
            return name();
        }

        @Override
        public String getLabel() {
            return label;
        }
    }

}
